# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-lazy
pkgver=1.4
pkgrel=0
pkgdesc="Lazy attributes for Python objects"
url="https://github.com/stefanholek/lazy"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://github.com/stefanholek/lazy/archive/$pkgver/lazy-$pkgver.tar.gz"
builddir="$srcdir/lazy-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="2a735b1436d3ebc76791645631cfcf54f1e332fd365c317bee92498b10397ec8206b271ae74427cae02985808a843eb98720c91e62dce93bb75702205da161bc  lazy-1.4.tar.gz"
